|
|
|
 (September 1999)(Disk 2).iso/Technical Publications/java/images/qtjavadoc_text.gif) |
|
|
Technical Overview
The QuickTime Application Programming Interface (API) is implemented
in Java as a set of classes. These classes are grouped into a
set of packages, on the basis of common functionality, common
usage, and their organization in the standard QuickTime header
files. It provides both an object model for the QuickTime API
and a logical translation or binding of the native function calls
into Java method calls.
The QuickTime for Java API is garbage collected and contains no
direct access to pointers or other features that are common in
a C-based API. The Java method calls provide very little overhead
to the native call; they do parameter marshalling and check the
result of the native call for any error conditions. If an error
is returned by the native call, then an exception will be thrown.
With compiler optimizations, most of these direct QuickTime methods
can be in-lined. |
|